package com.shop.cereshop.admin.dao.shop;

import com.shop.cereshop.admin.param.withdrawal.WithdrawalGetAllParam;
import com.shop.cereshop.commons.domain.shop.CereShopWithdrawal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CereShopWithdrawalDAO {
    int insert(CereShopWithdrawal record);

    int insertSelective(CereShopWithdrawal record);

    List<CereShopWithdrawal> getAll(WithdrawalGetAllParam param);

    CereShopWithdrawal getById(@Param("withdrawalId") Long withdrawalId);

    void update(CereShopWithdrawal cereShopWithdrawal);

}